package yang.yu.sunny.infra.persistence.sales;

import yang.yu.sunny.domain.sales.OrderItem;

import java.util.List;

/**
 * Created by yyang on 16/3/29.
 */

public interface OrderItemMapper extends AbstractSalesMapper<OrderItem> {

    List<OrderItem> findByOrder(Long orderId);

    List<OrderItem> findByCategoryAndProductSn(List<Long> categoryIds, String productSn);
}
